package com.snake.springboot.custom.service.assemble.aicost;


import com.snake.springboot.custom.api.model.aicost.FormulaModel;
import com.snake.springboot.custom.dao.mybatis.entity.aicost.FormulaDO;
import org.snake.common.utils.PropertyUtils;

/**
 * <p>算力计算公式
 * 类{@code FormulaAssembler} </br>
 * 创建时间2025/3/20 16:50
 * @author yangxt
 * @see
 */
public class FormulaAssembler {
    public static FormulaDO toDO(FormulaModel model) {
        FormulaDO formulaDO = new FormulaDO();
        PropertyUtils.copyProperties(formulaDO, model);
        return formulaDO;
    }
}
